package cn.itcast.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/5/7
 */
@SpringBootApplication
@EnableEurekaClient     //允许以代码的方式来发现注册中心得服务.
@EnableDiscoveryClient   //允许获取服务信息
public class microServiceProvider80003{
    public static void main(String[] args) {
        SpringApplication.run(microServiceProvider80003.class, args);
    }
}
